<%@ page language="java" pageEncoding="utf-8"%>
<%@page import="com.farm.web.constant.FarmConstant"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/view/conf/farmtag.tld" prefix="PF"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<base href="<PF:basePath/>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>模板管理- <PF:ParameterValue key="config.sys.title" /></title>
<meta name="description"
	content='<PF:ParameterValue key="config.sys.mate.description"/>'>
<meta name="keywords"
	content='<PF:ParameterValue key="config.sys.mate.keywords"/>'>
<meta name="author"
	content='<PF:ParameterValue key="config.sys.mate.author"/>'>
<meta name="robots" content="index,follow">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<jsp:include page="../atext/include-web.jsp"></jsp:include>
<link rel="stylesheet" href="text/lib/viewer/viewer.css">
<script src="text/lib/viewer/viewer.js"></script>
<script type="text/javascript"
	src="text/lib/layout/jquery.layout-latest.js"></script>
<script charset="utf-8"
	src="<PF:basePath/>text/lib/super-validate/validate.js"></script>
<style type="text/css">
body {
	background-color: #353639;
	color: #b4b6b8;
}

#know-text-box {
	background-color: #303134;
}

#wml-ui-left-id {
	border-right: 2px solid #303134;
}
</style>
</head>
<body style="display: none;" class="wml-pc-body">
	<DIV id="wml-ui-center-id" class="ui-layout-center wml-ui-l1-center">
		<DIV class="ui-layout-north wml-ui-l2-center-top">
			<div id="cbtg_file_info_box_id">
				<!-- 上方文件信息 -->
				<div style="padding: 15px;">请在左侧选择文件加载</div>
			</div>
		</DIV>
		<DIV id="wml-ui-center-l2-id" class="ui-layout-center">
			<DIV class="ui-layout-center" id="know-text-box"
				style="overflow: auto;">
				<!-- 文本编辑器 -->
				<jsp:include page="commons/fileEditor.jsp"></jsp:include>
			</DIV>
		</DIV>
		<DIV class="ui-layout-south wml-ui-l2-center-top">
			<div
				style="height: 26px; width: 100%; padding: 4px; padding-top: 0px;">
				<span id="filestatInfoId"
					style="font-size: 12px; margin-left: 20px;">
					<!-- 编辑器统计信息 -->
				</span>
				<span id="focusInfoId"
					style="font-size: 12px; margin-left: 20px;">
					<!-- 编辑器光标信息 -->
				</span>
			</div>
		</DIV>
	</DIV>
	<DIV class="ui-layout-east wml-ui-l1-east" style="overflow: auto;">
		<!-- 右侧空白窗口 -->
		<jsp:include page="commons/userGuide.jsp"></jsp:include>
	</DIV>
	<DIV id="wml-ui-left-id" class="ui-layout-west wml-ui-l1-west">
		<DIV class="ui-layout-north">
			<!--左侧logo -->
			<jsp:include page="commons/logo.jsp"></jsp:include>
		</DIV>
		<DIV class="ui-layout-center">
			<!-- 目录结构 -->
			<jsp:include page="commons/dirFiles.jsp"></jsp:include>
		</DIV>
	</DIV>
	<div>
		<c:if test="${template.pstate!='9'}">
			<!-- 各种菜单窗口 -->
			<jsp:include page="commons/dirFiles-menus.jsp"></jsp:include>
			<jsp:include page="commons/dirFiles-treeWin.jsp"></jsp:include>
		</c:if>
	</div>
</body>
<script type="text/javascript">
	var wml_ui_innerCenter;
	$(function() {
		$('body').show();
		//主体分隔
		$('body').layout({
			west__closable : false,//可以被关闭  
			west__resizable : false,//可以改变大小
			west__size : 350,
			west__spacing_open : 1,

			east__closable : true,//可以被关闭  
			east__resizable : false,//可以改变大小
			east__size : 200,
			east__spacing_open : 1
		});

		$('#wml-ui-left-id').layout({
			north__closable : false,//可以被关闭  
			north__resizable : false,//可以改变大小
			north__size : 50,
			north__spacing_open : 0
		});

		$('#wml-ui-center-id').layout({
			north__closable : false,//可以被关闭  
			north__resizable : false,//可以改变大小
			north__size : 50,
			north__spacing_open : 0
		});
		wml_ui_innerCenter = $('#wml-ui-center-l2-id').layout({
			north__closable : true,//可以被关闭  
			north__resizable : false,//可以改变大小
			north__size : 100,
			north__spacing_open : 1
		});
	});
</script>
<c:if test="${template.pstate=='9'}">
	<style>
.wcp-tree-lable .setting {
	display: none;
}
</style>
</c:if>
</html>